home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Lexis Nexis Millenium Plus Collection 1997 to 1997
/
Lexis-Nexis Millenium Plus Collection - 1996-97 (Lexis-Nexis)(LA1173-0 07-96)(1996).bin
/
pc
/
internet
/
scripts
/
scripts.z
/
EIRPAC.SCR
< prev
next >
Wrap
Text File
|
1996-01-25
|
2KB
|
62 lines
!
! Copyright (c) 1995
! by CompuServe Incorporated, Columbus, Ohio
!
! The information in this software is subject to change without
! notice and should not be construed as a commitment by CompuServe.
!
! EIRPAC:
! Connect to EIRPAC
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.8"
!-V
show "Connecting to EIRPAC";
Tries = 5;
on cancel goto Return_Cancel;
send "..." & %CR;
Wait_EIRPAC:
if Tries = 0 goto EIRPAC_Failure;
Tries = Tries - 1;
wait
"Host Name:" goto Return_Success,
"EIRPAC:" goto Send_NUI,
%mdm_Failure goto EIRPAC_Failure
until 80;
send "..." & %CR;
if Tries > 3 goto Wait_EIRPAC;
Wait_EIRPAC_Connect:
wait
"EIRPAC: call" goto Return_Success,
"Host Name:" goto Return_Success,
%mdm_Failure goto EIRPAC_Failure
until 100;
send %CR;
if Tries = 0 goto EIRPAC_Failure;
Tries = Tries - 1;
goto Wait_EIRPAC_Connect;
Send_NUI:
show "Sending EIRPAC address...";
wait until 10;
send "r 37456178" & %CR;
goto Wait_EIRPAC_Connect;
EIRPAC_Failure:
define %FailureMsg = "EIRPAC not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;